Options
All
  • Public
  • Public/Protected
  • All
Menu

infers - v1.3.9

Index

Type aliases

ActivationFunction

ActivationFunction: "Sigmoid" | "Relu" | "Tanh" | "Softmax"

激活函数类型

Mode

Mode: "sgd" | "bgd" | "mbgd"

梯度更新方式

NetShape

NetShape: [number, number | [number, ActivationFunction], ...(number | [number, ActivationFunction])[]]

网络形状

Functions

afd

afn

  • 激活函数求值

    Parameters

    • x: number

      目标

    • rows: number[]

      该层的多个输出值

    • Optional af: ActivationFunction

      激活函数类型

    Returns number

Const defaultTrainingOptions

toFixed

  • toFixed(num: number, fix: number): number
  • 按小数位向下取整

    Parameters

    • num: number

    • fix: number

    Returns number

upset

Generated using TypeDoc